//
//  ZYCCourseDetailParentBottomView.h
//  ZDSC
//
//  Created by ZDTX on 2021/9/2.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

typedef NS_ENUM(NSInteger, ZYCParentBottomStatus) {
    ZYCBottomStatusParentNoEnroll = 0, //未报名
    ZYCBottomStatusParentEnrolled, // 已报名
    ZYCBottomStatusParentEnrolledFull //人员已满
    
};

@protocol ZYCCourseDetailParentBottomViewDelegate <NSObject>

- (void)courseDetailParentBottomDidDetail:(ZYCParentBottomStatus)status;

@end

@interface ZYCCourseDetailParentBottomView : UIView

@property (nonatomic, weak) id<ZYCCourseDetailParentBottomViewDelegate> delegate;

@property (nonatomic, assign) ZYCParentBottomStatus status;

@property (nonatomic, assign) BOOL isEnable;

@property (nonatomic, copy) NSString *title;

@end

NS_ASSUME_NONNULL_END
